/************************************************************************************
**                                                                                 **
**                               mcHF QRP Transceiver                              **
**                             K Atanassov - M0NKA 2014                            **
**                                                                                 **
**---------------------------------------------------------------------------------**
**                                                                                 **
**  File name:                                                                     **
**  Description:                                                                   **
**  Last Modified:                                                                 **
**  Licence:		For radio amateurs experimentation, non-commercial use only!   **
************************************************************************************/

#ifndef __IQ_RX_FILTER_AM_10KHZ_H
#define __IQ_RX_FILTER_AM_10KHZ_H

#define Q_BLOCK_SIZE		1
#define Q_NUM_TAPS			89

/*
 	 * 89 tap FIR lowpass filter for AM demodulation
     * 10 kHz lowpass
     * Fc = 9.70 kHz
	 *
     * -6dB @ 10.0 kHz
     * -20dB @ 10.45 kHz
     * -40dB @ 10.8 kHz
     * -60dB > 11.13 kHz
     *
     * 20141205 by KA7OEI using Iowa Hills Hilbert Filter Designer
*/

const float iq_rx_am_10k_coeffs[Q_NUM_TAPS] =
{
		 0.000117722483050164,
		-0.000190826378141535,
		-0.000316454605198105,
		 0.000084665259804020,
		 0.000534437033829599,
		 0.000223520439161135,
		-0.000632342517282613,
		-0.000725725616097602,
		 0.000428204065620224,
		 0.001280215798621918,
		 0.000218375537426833,
		-0.001601721502248780,
		-0.001292161293926300,
		 0.001330681506383581,
		 0.002528032564646596,
		-0.000185878610189881,
		-0.003399805802419520,
		-0.001839090604793820,
		 0.003240267262336325,
		 0.004316174080536414,
		-0.001493992133713610,
		-0.006356339576212520,
		-0.001960308149814000,
		 0.006786095910800701,
		 0.006537642652845357,
		-0.004528723876747330,
		-0.010862593712668900,
		-0.000897173759372233,
		 0.012971399058043866,
		 0.008921931792469471,
		-0.010804921591446800,
		-0.017688783704440600,
		 0.002879095183285337,
		 0.024147999555009812,
		 0.011076579092093660,
		-0.024429930878634200,
		-0.029750803160671700,
		 0.014143913162437944,
		 0.050329661474116855,
		 0.012584602054512364,
		-0.069061533914324600,
		-0.071583230484314000,
		 0.082176152223611229,
		 0.306148763236497423,
		 0.413192420891035361,
		 0.306148763236497423,
		 0.082176152223611229,
		-0.071583230484314000,
		-0.069061533914324600,
		 0.012584602054512364,
		 0.050329661474116855,
		 0.014143913162437944,
		-0.029750803160671700,
		-0.024429930878634200,
		 0.011076579092093660,
		 0.024147999555009812,
		 0.002879095183285337,
		-0.017688783704440600,
		-0.010804921591446800,
		 0.008921931792469471,
		 0.012971399058043866,
		-0.000897173759372233,
		-0.010862593712668900,
		-0.004528723876747330,
		 0.006537642652845357,
		 0.006786095910800701,
		-0.001960308149814000,
		-0.006356339576212520,
		-0.001493992133713610,
		 0.004316174080536414,
		 0.003240267262336325,
		-0.001839090604793820,
		-0.003399805802419520,
		-0.000185878610189881,
		 0.002528032564646596,
		 0.001330681506383581,
		-0.001292161293926300,
		-0.001601721502248780,
		 0.000218375537426833,
		 0.001280215798621918,
		 0.000428204065620224,
		-0.000725725616097602,
		-0.000632342517282613,
		 0.000223520439161135,
		 0.000534437033829599,
		 0.000084665259804020,
		-0.000316454605198105,
		-0.000190826378141535,
		 0.000117722483050164
};

#endif
